package net.omnivention.wulumuqi;

import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;

public class WuluClassLoader extends URLClassLoader {

	public WuluClassLoader(URL[] urls, ClassLoader parent) {
		super(urls, parent);
	}

	public void addURL(URL url) {
		super.addURL(url);
	}

	public void addURL(String dir) {
		try {
			addURL(new URL(dir));
		} catch (MalformedURLException e) {		
			e.printStackTrace();
		}
	}

}
